package com.pateo.bjev.contacts.utils;

/**
 * Created by pateo on 17-5-10.
 */

public class Log {

    private static boolean DEBUG = true;
    private static final String TAG  = "BjevContacts";

    public static void d(Class clazz,String log){
        if(DEBUG){
            android.util.Log.i(TAG+"-"+clazz.getSimpleName(),log);
        }
    }

    public static void i(Class clazz,String log){
        android.util.Log.i(TAG+"-"+clazz.getSimpleName(),log);
    }

    public static void e(Class clazz,String log){
        android.util.Log.e(TAG+"-"+clazz.getSimpleName(),log);
    }

    public static void w(Class clazz,String log){
        android.util.Log.w(TAG+"-"+clazz.getSimpleName(),log);
    }
}
